package com.mjlf.mqserver.inter;

import com.mjlf.mqserver.entity.Topic;

/**
 * @ClassName TopicFactory
 * @Author mjlft
 * @Date 2020/2/18 15:54
 * @Version 1.0
 * @Description TODO
 */
public interface TopicFactory {

    String createTopic(Topic topic) throws Exception;
    String deleteTopic(String topicName);
    default String rebalanceTopic(Topic topic){
        return null;
    }
}
